#! /bin/bash

if $(ls -l test); then
   echo "test.txt"
else 
   $(mkdir test)
   echo "created"
fi